﻿@model DeviceMaintainGIS.Model.Document.DocumentModel
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>添加资料关系信息</title>

</head>
<body>
    <div style="padding: 15px;overflow: hidden" >
        <form id="DocumentRelationAddForm" method="post" action="">
            <table border="1" style="width: 99%; height: 100%;" class="tableForm">
                <tr>
                    <th>
                        资料名称：
                    </th>
                    <td>
                        <input type="hidden"  id="IDList" value="">
                        <input type="hidden"  id="DocumentId" value="@Model.DocumentId">
                        <label>@Model.DocumentName</label>
                    </td>
                </tr>
                <tr>
                    <th>
                        关系：
                    </th>
                    <td style="width:550px; height: 400px;">
                        <div id="ui_Document_layout" class="easyui-layout" data-options="fit:true,border:false" >
                            <div data-options="region:'north',split:true,border:true,collapsed:false" title="搜索条件" style="height:74px;">
                                <div id="ui_user_search">
                                    <table >
                                        <tr>
                                            <th>
                                                名称：
                                            </th>
                                            <td>
                                                <input name="txtName" id="txtName" class="easyui-validatebox textbox" style="width:80px;height:22px;" />
                                            </td>
                                            <th>
                                                编号：
                                            </th>
                                            <td>
                                                <input name="txtID" id="txtID" class="easyui-validatebox textbox" style="width:80px;height:22px;" />
                                            </td>
                                            <th>
                                                类型：
                                            </th>
                                            <td>
                                                <select id="selType">
                                                    <option value="1" selected>项目</option>
                                                    <option value="2">基站</option>
                                                    <option value="3">设备</option>
                                                </select>
                                            </td>
                                            <td>
                                                <a href="javascript:void(0);" class="easyui-linkbutton" iconcls="icon-search" plain="true"
                                                   onclick="ui_DocumentRelation_searchdata();">搜索</a>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>

                            <div data-options="region:'center',border:false">
                                <table id="ui_Resources_dg" data-options="fit:true,border:false"></table>
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <th>
                       资料关系展示：
                    </th>
                    <td>
                        <table id="RelationTab"  width="100%"></table>
                    </td>
                </tr>
            </table>
        </form>
    </div>

</body>
</html>
